import './GoodsEditRegion.scss'

export default {
  name: 'GoodsEditRegion',
  props: {
    title: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
    }
  },
  render () {
    const { title } = this.$props
    const slots = this.$slots

    return (
      <div class="goods-edit__region">
        <div class="goods-edit__region--inner">
          <div class="goods-edit__region-title">
            <div class="goods-edit__region-title--inner">
              {title}
            </div>
          </div>
          <div class="goods-edit__region-content">
          <div class="goods-edit__region-content--inner">
            {slots.default}
          </div>
        </div>
        </div>
      </div>
    )
  },
}
